home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
graphic
/
rtetc800.zip
/
UTILS800.ZIP
/
MOL2SCN.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-11
|
458b
|
23 lines
@echo off
set name=%0
if "%1" == "" goto params
if "%2" == "" goto params
if not "%3" == "" goto params
if not exist %1 goto error1
if not exist %2 goto error2
type %1 >tmp
type %2 >>tmp
awk -f lowcase.awk tmp|sed "1,$s/^ //"|awk -f mol2scn.awk
goto end
:params
echo %name%: usage is "%name% {atomdef_file mol_file} [>scn_file]"
goto end
:error2
shift
:error1
echo %name%: %1 not found
goto end
:end
if exist tmp del tmp >nul
set name=